<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Canvas Texture</title>
    <style>
        body {
            margin: 0;
            overflow: hidden;
        }

        #preview {
            position: absolute;
            top: 0;
            left: 0;
            border: 1px solid #eee;
            width: 150px;
            height: 150px;
        }
    </style>
</head>

<body>
    <canvas id="preview" width="300" height="300"></canvas>
    <canvas id="viewport"></canvas>
    <script type="module" src="./main.js"></script>

</body>

</html>